﻿using HelperFromTheSkeleton.Model.DomainModels;
using System.ComponentModel.DataAnnotations;

namespace Authority.Doamin
{
    /// <summary>
    /// 用户角色权限
    /// </summary>
    public class UserRoleAuthority : BaseDomain
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Required]
        public Guid UserID { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        [Required]
        public Guid RoleAuthorityID { get; set; }
    }
}